<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" th:href="@{/lay/lib/layui-v2.5.5/css/layui.css}" media="all">
    <link rel="stylesheet" th:href="@{/lay/css/public.css}" media="all">
    <link rel="stylesheet" th:href="@{/css/icon-font.css}">
    <style>
        body {
            background-color: #ffffff;
        }
    </style>
</head>
<body  >
<div class="layui-form layuimini-form">
    <input id="id" th:value="${data.getId()}" hidden="hidden" >
    <input id="studentId" th:value="${data.getStudentid()}" hidden="hidden" >



    <div class="layui-form-item">
        <label class="layui-form-label required">学生姓名</label>
        <div id="name" class="layui-input-block">
            <input readonly="readonly" type="text" id="studentName" name="studentName" th:value="${data.getStudentName()}" th:onblur="" lay-verify="required"
                   class="layui-input">
            <tip>*不可编辑*</tip>
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label required">申请部门</label>
        <div id="deid" class="layui-input-block">
            <input readonly="readonly" type="text" id="deName" name="deName" th:value="${data.getDepartments().getDename()}" th:onblur="" lay-verify="required"
                   class="layui-input">
            <tip>*不可编辑*</tip>
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label required">笔试分数</label>
        <div id="penScore" class="layui-input-block">
            <input  type="number" id="penExam" th:value="0" name="penExam"  th:oninput="calculateTheScore()" lay-verify="required"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label required">机试分数</label>
        <div id="computerScore" class="layui-input-block">
            <input  type="number" id="computerExam" th:value="0" name="computerExam"  th:oninput="calculateTheScore()" lay-verify="required"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label required">面试分数</label>
        <div id="interViewScore" class="layui-input-block">
            <input  type="number" id="interView" name="interView" th:value="0"  th:oninput="calculateTheScore()" lay-verify="required"
                   class="layui-input">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label required">总分</label>
        <div id="Score" class="layui-input-block">
            <input readonly="readonly" type="text" id="sum" name="sum"  th:onblur=""
                   class="layui-input">
            <tip>*不可编辑*</tip>
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">是否通过</label>
        <div class="layui-input-block">
            <input type="radio" name="applyState" value="3" title="通过" checked="">
            <input type="radio" name="applyState" value="-1" title="未通过">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">确认保存</button>
        </div>
    </div>
</div>
</div>
<script th:src="@{/lay/lib/jquery-3.4.1/jquery-3.4.1.min.js}"></script>
<script th:src="@{/lay/lib/layui-v2.5.5/layui.js}" charset="utf-8"></script>
<script th:src="@{/js/societyFor/exam/edit.js}"></script>
<script th:src="@{/js/societyFor/exam/function.js}"></script>


</body>
</html>